package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Message;
import cn.wolfcode.trip.base.query.MessageQueryObject;

import java.util.List;
import java.util.Map;

public interface IMessageService {

    List<Map> selectChartPerson(Long id);

    List<Message> selectChartMessages(MessageQueryObject qo);

    List<Message> selectNewChartMessages(MessageQueryObject qo);

    List<Message> saveMessage(Message message);

    int selectMessageCount(Long receiverId);

    List<Map> selectChartCount(Long receiverId);
}
